package com.eshore.norm.pojo.po;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author HJ
 * @date 2024/1/3 10:57
 */
@NoArgsConstructor
@Data
public class NormRegionsPO {

    @JsonProperty("message")
    private String message;
    @JsonProperty("content")
    private List<ContentDTO> content;
    @JsonProperty("status")
    private Integer status;
    @JsonProperty("total")
    private Integer total;
    @JsonProperty("timestamp")
    private String timestamp;

    @NoArgsConstructor
    @Data
    public static class ContentDTO {
        @JsonProperty("region_list")
        private List<RegionListDTO> regionList;

        @NoArgsConstructor
        @Data
        public static class RegionListDTO {
            @JsonProperty("region_remark")
            private String regionRemark;
            @JsonProperty("region_name")
            private String regionName;
        }
    }
}
